package com.kang.pojo;

import java.io.Serializable;
import java.util.Date;
/**
 * 部门实体类
 * @author zs614
 *
 */
public class Organization implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	private Integer organizationid;

	/**
	 * 部门名
	 */
	private String organizationname;

	/**
	 * 上一级部门ID
	 */
	private Integer firstid;

	/**
	 * 部门级别
	 */
	private Integer secondid;

	/**
	 * 状态
	 */
	private String whetherdisabled;

	/**
	 * 创建时间
	 */
	private Date createtime;

	/**
	 * 创建人
	 */
	private Integer createpersonid;

	public Integer getOrganizationid() {
		return organizationid;
	}

	public void setOrganizationid(Integer organizationid) {
		this.organizationid = organizationid;
	}

	public String getOrganizationname() {
		return organizationname;
	}

	public void setOrganizationname(String organizationname) {
		this.organizationname = organizationname == null ? null : organizationname.trim();
	}

	public Integer getFirstid() {
		return firstid;
	}

	public void setFirstid(Integer firstid) {
		this.firstid = firstid;
	}

	public Integer getSecondid() {
		return secondid;
	}

	public void setSecondid(Integer secondid) {
		this.secondid = secondid;
	}

	public String getWhetherdisabled() {
		return whetherdisabled;
	}

	public void setWhetherdisabled(String whetherdisabled) {
		this.whetherdisabled = whetherdisabled == null ? null : whetherdisabled.trim();
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getCreatepersonid() {
		return createpersonid;
	}

	public void setCreatepersonid(Integer createpersonid) {
		this.createpersonid = createpersonid;
	}
}